/*
    BoxPopup Core Style:
    The following CSS is consistent between example themes and should not be altered.
*/
#boxpopup, #bpopupOverlay, #bpopupWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;}
#bpopupOverlay{position:fixed; width:100%; height:100%;}
#bpopupMiddleLeft, #bpopupBottomLeft{clear:left;}
#bpopupContent{position:relative;}
#bpopupLoadedContent{overflow:auto;}
#bpopupTitle{margin:0;}
#bpopupLoadingOverlay, #bpopupLoadingGraphic{position:absolute; top:0; left:0; width:100%; height:100%;}
#bpopupPrevious, #bpopupNext, #bpopupClose, #bpopupSlideshow{cursor:pointer;}
.bpopupPhoto{float:left; margin:auto; border:0; display:block; max-width: none;}
.bpopupIframe{width:100%; height:100%; display:block; border:0;}
#boxpopup, #bpopupContent, #bpopupLoadedContent{box-sizing:content-box;}

/* 
    User Style:
    Change the following styles to modify the appearance of BoxPopup.  They are
    ordered & tabbed in a way that represents the nesting of the generated HTML.
*/
#bpopupOverlay{background:#000;}
#boxpopup{}
    #bpopupContent{margin-top:20px;}
        .bpopupIframe{background:#fff;}
        #bpopupError{padding:50px; border:1px solid #ccc;}
        #bpopupLoadedContent{/*border:5px solid #000;*/ background:#fff;}
        #bpopupTitle{position:absolute; top:-20px; left:0; color:#ccc;}
        #bpopupCurrent{position:absolute; top:-20px; right:0px; color:#ccc;}
        #bpopupSlideshow{position:absolute; top:-20px; right:90px; color:#fff;}
        /*#bpopupPrevious{position:absolute; top:50%; left:0px;/*left:5px* margin-top:-32px; background:url(../images/controls.png) no-repeat top left; width:28px; height:65px; text-indent:-9999px;}
        #bpopupPrevious:hover{background-position:bottom left;}
        #bpopupNext{position:absolute; top:50%; right:0px;/*right:5px* margin-top:-32px; background:url(../images/controls.png) no-repeat top right; width:28px; height:65px; text-indent:-9999px;}
        #bpopupNext:hover{background-position:bottom right;}*/
        #bpopupLoadingOverlay{background:#000;}
        #bpopupLoadingGraphic{background:url(../images/loading.gif) no-repeat center center;}
        #bpopupClose{position:absolute; top:0px; right:5px; display:block; background:url(../images/controls.png) no-repeat top center; width:38px; height:19px; text-indent:-9999px;}
        #bpopupClose:hover{background-position:bottom center;}